<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Calm Tasks - Tasks</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        .neumorphic {
            background: #f1f5f9;
            box-shadow: 
                20px 20px 60px #d1d9e6, 
                -20px -20px 60px #ffffff;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .neumorphic-inset {
            background: #f1f5f9;
            box-shadow: 
                inset 8px 8px 16px #d1d9e6, 
                inset -8px -8px 16px #ffffff;
            border-radius: 15px;
        }
        .neumorphic-small {
            background: #f1f5f9;
            box-shadow: 
                8px 8px 16px #d1d9e6, 
                -8px -8px 16px #ffffff;
            border-radius: 15px;
        }
        .status-bar {
            background: linear-gradient(90deg, #000 0%, #333 100%);
            height: 44px;
        }
        .tab-bar {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        .filter-tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }
    </style>
</head>
<body class="h-screen overflow-hidden">
    <!-- iOS Status Bar -->
    <div class="status-bar flex justify-between items-center px-6 text-white text-sm font-medium">
        <div class="flex items-center space-x-1">
            <span>9:41</span>
        </div>
        <div class="flex items-center space-x-1">
            <i class="fas fa-signal text-xs"></i>
            <i class="fas fa-wifi text-xs"></i>
            <i class="fas fa-battery-three-quarters text-xs"></i>
        </div>
    </div>

    <!-- Main Content -->
    <div class="flex-1 p-6 pb-24 overflow-y-auto" style="height: calc(100vh - 44px - 83px);">
        <!-- Header -->
        <div class="flex justify-between items-center mb-6">
            <div>
                <h1 class="text-2xl font-bold text-gray-800">My Tasks</h1>
                <p class="text-gray-600 text-sm mt-1">Organized by your comfort level</p>
            </div>
            <button class="neumorphic-small w-12 h-12 flex items-center justify-center hover:shadow-xl transition-all">
                <i class="fas fa-plus text-gray-600"></i>
            </button>
        </div>

        <!-- Filter Tabs -->
        <div class="neumorphic-inset p-2 mb-6 flex space-x-2">
            <button class="filter-tab active flex-1 py-3 px-4 rounded-xl font-medium text-sm transition-all">
                All Tasks
            </button>
            <button class="filter-tab flex-1 text-gray-600 py-3 px-4 rounded-xl font-medium text-sm hover:bg-white/50 transition-all">
                Today
            </button>
            <button class="filter-tab flex-1 text-gray-600 py-3 px-4 rounded-xl font-medium text-sm hover:bg-white/50 transition-all">
                Upcoming
            </button>
        </div>

        <!-- Task Categories -->
        <div class="space-y-6">
            <!-- Personal Tasks -->
            <div>
                <div class="flex items-center mb-4">
                    <div class="w-4 h-4 bg-gradient-to-r from-blue-400 to-blue-600 rounded-full mr-3"></div>
                    <h3 class="text-lg font-semibold text-gray-800">Personal Care</h3>
                    <span class="ml-auto text-sm text-gray-500">2 tasks</span>
                </div>
                <div class="space-y-3">
                    <!-- Completed Personal Task -->
                    <div class="neumorphic p-4 opacity-75">
                        <div class="flex items-start space-x-3">
                            <div class="w-6 h-6 bg-green-500 rounded-full flex items-center justify-center mt-1 flex-shrink-0">
                                <i class="fas fa-check text-white text-xs"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-gray-800 line-through font-medium">Morning meditation (10 min)</p>
                                <p class="text-sm text-gray-500 mt-1">Completed at 8:30 AM</p>
                                <div class="flex items-center space-x-2 mt-3">
                                    <span class="text-xs bg-green-100 text-green-700 px-3 py-1 rounded-full font-medium">Low anxiety</span>
                                    <span class="text-xs bg-blue-100 text-blue-700 px-3 py-1 rounded-full">Daily routine</span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Pending Personal Task -->
                    <div class="neumorphic p-4 hover:shadow-2xl transition-all">
                        <div class="flex items-start space-x-3">
                            <div class="w-6 h-6 border-2 border-gray-300 rounded-full mt-1 flex-shrink-0 hover:border-blue-400 transition-colors"></div>
                            <div class="flex-1">
                                <p class="text-gray-800 font-medium">Read for 30 minutes</p>
                                <p class="text-sm text-gray-500 mt-1">Due: Today, 7:00 PM</p>
                                <div class="flex items-center space-x-2 mt-3">
                                    <span class="text-xs bg-blue-100 text-blue-700 px-3 py-1 rounded-full font-medium">Low anxiety</span>
                                    <span class="text-xs bg-purple-100 text-purple-700 px-3 py-1 rounded-full">Self-care</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Social Tasks -->
            <div>
                <div class="flex items-center mb-4">
                    <div class="w-4 h-4 bg-gradient-to-r from-yellow-400 to-orange-500 rounded-full mr-3"></div>
                    <h3 class="text-lg font-semibold text-gray-800">Social Interactions</h3>
                    <span class="ml-auto text-sm text-gray-500">2 tasks</span>
                </div>
                <div class="space-y-3">
                    <!-- Medium Anxiety Social Task -->
                    <div class="neumorphic p-4 border-l-4 border-yellow-400 hover:shadow-2xl transition-all">
                        <div class="flex items-start space-x-3">
                            <div class="w-6 h-6 border-2 border-gray-300 rounded-full mt-1 flex-shrink-0 hover:border-yellow-400 transition-colors"></div>
                            <div class="flex-1">
                                <p class="text-gray-800 font-medium">Call dentist for appointment</p>
                                <p class="text-sm text-gray-500 mt-1">Due: Today, 2:00 PM</p>
                                <div class="flex items-center space-x-2 mt-3">
                                    <span class="text-xs bg-yellow-100 text-yellow-700 px-3 py-1 rounded-full font-medium">Medium anxiety</span>
                                    <span class="text-xs bg-red-100 text-red-700 px-3 py-1 rounded-full">Important</span>
                                </div>
                                <!-- Helpful Tip -->
                                <div class="mt-4 p-4 bg-gradient-to-r from-yellow-50 to-orange-50 rounded-lg border-l-3 border-yellow-300">
                                    <div class="flex items-start space-x-2">
                                        <i class="fas fa-lightbulb text-yellow-600 text-sm mt-0.5"></i>
                                        <div>
                                            <p class="text-xs font-medium text-yellow-800 mb-1">Helpful Tip</p>
                                            <p class="text-xs text-yellow-700">Write down what you want to say before calling. Practice the conversation in your head first.</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Low Anxiety Social Task -->
                    <div class="neumorphic p-4 hover:shadow-2xl transition-all">
                        <div class="flex items-start space-x-3">
                            <div class="w-6 h-6 border-2 border-gray-300 rounded-full mt-1 flex-shrink-0 hover:border-green-400 transition-colors"></div>
                            <div class="flex-1">
                                <p class="text-gray-800 font-medium">Reply to Sarah's message</p>
                                <p class="text-sm text-gray-500 mt-1">Due: Tomorrow, 10:00 AM</p>
                                <div class="flex items-center space-x-2 mt-3">
                                    <span class="text-xs bg-green-100 text-green-700 px-3 py-1 rounded-full font-medium">Low anxiety</span>
                                    <span class="text-xs bg-pink-100 text-pink-700 px-3 py-1 rounded-full">Friends</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Work Tasks -->
            <div>
                <div class="flex items-center mb-4">
                    <div class="w-4 h-4 bg-gradient-to-r from-purple-400 to-purple-600 rounded-full mr-3"></div>
                    <h3 class="text-lg font-semibold text-gray-800">Work & Productivity</h3>
                    <span class="ml-auto text-sm text-gray-500">1 task</span>
                </div>
                <div class="space-y-3">
                    <!-- Completed Work Task -->
                    <div class="neumorphic p-4 opacity-75">
                        <div class="flex items-start space-x-3">
                            <div class="w-6 h-6 bg-green-500 rounded-full flex items-center justify-center mt-1 flex-shrink-0">
                                <i class="fas fa-check text-white text-xs"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-gray-800 line-through font-medium">Review project proposal</p>
                                <p class="text-sm text-gray-500 mt-1">Completed at 11:45 AM</p>
                                <div class="flex items-center space-x-2 mt-3">
                                    <span class="text-xs bg-blue-100 text-blue-700 px-3 py-1 rounded-full font-medium">Low anxiety</span>
                                    <span class="text-xs bg-gray-100 text-gray-700 px-3 py-1 rounded-full">Work</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Add Task Button -->
        <div class="mt-8">
            <button class="w-full neumorphic p-4 flex items-center justify-center space-x-3 hover:shadow-2xl transition-all">
                <div class="w-8 h-8 bg-gradient-to-r from-blue-500 to-purple-600 rounded-full flex items-center justify-center">
                    <i class="fas fa-plus text-white text-sm"></i>
                </div>
                <span class="font-medium text-gray-800">Add New Task</span>
            </button>
        </div>
    </div>

    <!-- Tab Bar -->
    <div class="tab-bar fixed bottom-0 left-0 right-0 h-20 flex items-center justify-around px-6">
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-home text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Home</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-tasks text-blue-600 text-lg"></i>
            <span class="text-xs text-blue-600 font-medium">Tasks</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-smile text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Mood</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-chart-line text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Progress</span>
        </div>
        <div class="flex flex-col items-center space-y-1">
            <i class="fas fa-cog text-gray-400 text-lg"></i>
            <span class="text-xs text-gray-400">Settings</span>
        </div>
    </div>
</body>
</html>